import React, {Component} from "react";

export default class News extends Component {

    // 组件挂载后2s 页面自动跳转
    // componentDidMount() {
    //     setTimeout(() => {
    //         this.props.history.replace('/home/message')
    //     }, 2000);
    // }

    render() {
        return (
            <ul>
                <li>news001</li>
                <li>news002</li>
                <li>news003</li>
            </ul>
        );
    }
}